package com.cq.hd.product.api;

import com.cq.hd.common.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "hd-o2o-product-service", contextId = "active-agent-api")
public interface TbActiveAgentApi {

    // 查询活动分销经纪人列表
    @GetMapping("/product/activeAgent/listByActiveId")
    Result<List<Long>> listByActiveId(@RequestParam("activeId") Long activeId);
}
